package vampirism.core.shared;

/**
 * Contains a bunch of static functions
 * That can be used by both - server and client
 * @author Potato
 *
 */
public class Util {
	
	
	public static float getAngle(float x1,float y1,float x2,float y2) {
		float xDiff = x2 - x1; 
		float yDiff = y2 - y1; 
		return (float)Math.atan2(yDiff, xDiff); 
	}
	
	
}
